package com.itotem.android.everbridge.view;

import com.itotem.android.everbridge.R;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.RelativeLayout;

public class AdditionalBroadcastSettingsView extends TitleView {
	
	Context mContext;
	RelativeLayout mLanguageLayout, mEmailResultLayout, mBroadcastExpirationLayout, mContactCyclesLayout;

	public AdditionalBroadcastSettingsView(Context context) {
		super(context);
		this.mContext = context;
		initViews();
		initTitleView();
	}
	
	private void initTitleView() {
		setLeftBackImageVisible(true);
		setRightImageVisible(false);
		setRightRebroadImageVisible(false);
		setLeftImageVisible(false);
		setText("Additional Broadcast Settings");
	}
	
	private void initViews() {
		View v = LayoutInflater.from(mContext).inflate(R.layout.additional_broadcast_settings, null);
		mLanguageLayout = (RelativeLayout)v.findViewById(R.id.additional_layout_1); //Language Layout
		mEmailResultLayout = (RelativeLayout)v.findViewById(R.id.additional_layout_2);//E-mail Results layout
		mBroadcastExpirationLayout = (RelativeLayout)v.findViewById(R.id.additional_layout_3); //Broadcast Expiration layout
		mContactCyclesLayout = (RelativeLayout)v.findViewById(R.id.additional_layout_4); //Contact Cycles Layout
		addView(v);
	}

}
